package com.xiaoq.matrix.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaoq.matrix.entity.TourismMeetingEntity;
import com.xiaoq.matrix.repository.ITourismMeetingRepository;
import com.xiaoq.matrix.service.ITourismMeetingService;

@Service
public class TourismMeetingServiceImpl implements ITourismMeetingService {

	@Autowired
	private ITourismMeetingRepository tourismMeetingRep;
	
	@Override
	public TourismMeetingEntity save(TourismMeetingEntity tourismMeeting) {
		return tourismMeetingRep.save(tourismMeeting);
	}

	@Override
	public TourismMeetingEntity findById(String id) {
		return tourismMeetingRep.findById(id);
	}

}
